//
//  IMChatMessage.h
//  ChatMainDemo
//
//  Created by peiw on 16/1/21.
//  Copyright © 2016年 peiw. All rights reserved.
//

#import <Foundation/Foundation.h>

//消息状态
typedef NS_ENUM(NSInteger , IMMessageState) {
    Sending ,
    SendFailure ,
    SendSuccess ,
    SendNone
};

//消息类型
typedef NS_ENUM(NSInteger , IMMessageFlag) {
    eTFNone , //无效会话
    eTFSigle , //单人
    eTFBulk ,
    eTFGroup ,
};

//消息文本类型
typedef NS_ENUM(NSInteger , IMMessageType) {
    eTFText ,
    eTFHTML ,
    eTFFile ,
    eTFImage ,
    eTFVoice,
};

@interface IMChatMessage : NSObject

@property (nonatomic , assign) IMMessageType msgType;
@property (nonatomic , strong) id content;
@property (nonatomic , strong) NSString *userID;
@property (nonatomic , strong) NSString *peerID;

@end
